package com.coinland.study.model;

import com.coinland.study.contract.LoadLottieContract;

import okhttp3.Call;
import okhttp3.OkHttpClient;
import okhttp3.Request;

/**
 * 类描述:  Lottie动画实体类
 * 创建人:  shenZ
 * 创建时间: 2019/8/26
 * 联系方式: 252079249@qq.com
 * 修改时间: 2019/8/26
 */
public class LoadLottieModel implements LoadLottieContract.Model{

    @Override
    public Call loadLottie(String url) {
        Request request = new Request.Builder().url(url).build();
        OkHttpClient client = new OkHttpClient();
        Call call = client.newCall(request);
        return call;
    }
}
